<{foreach item=list key=num from=$pro}>
<li class="fore<{$num+1}>">
<div class="p-img ld">
    <a target="_blank" href="<{$config.weburl}>/?m=product&s=detail&id=<{$list.id}>">
        <img width="100" src='<{$list.pic}>_220X220.jpg' />
    </a>
</div>
<div class="p-name"><a target="_blank" href="<{$config.weburl}>/?m=product&s=detail&id=<{$list.id}>"><{$list.pname}></a></div>
<div class="p-price"><strong><{$config.money}><{$list.price}></strong></div>
</li>
<{/foreach}>